package com.example.mybatis.service;


import com.example.mybatis.utils.ResultUtil;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public interface FileService {
    ResultUtil upload(MultipartFile file, HttpServletRequest request);

    ResultUtil delete(String fileName);

    ResultUtil readExcel(MultipartFile file,Integer detailsId);

    ResultUtil exportExcel( HttpServletResponse response);
}
